@import "base.less";
@import "common.less";
@import "modal.less";
.wrapper-bg {
    background-color: #dff2ff;
}

.head-title {
    width: 6.4rem;
    height: .48rem;
    background: url(../img/chowhound_details/rule-head.png) no-repeat center center;
    background-size: cover;
    margin: 0 auto;
    color: #fff;
    font-size: .26rem;
    line-height: .48rem;
}

.invite-btn {
    display: inline-block;
    background: url(../img/chowhound_details/invite-btn.png) no-repeat center center;
    background-size: cover;
    width: 5.03rem;
    height: 1.01rem;
    margin: .4rem auto 0 auto;
}

.chowhound-top {
    position: relative;
    background: url(../img/chowhound_details/chowhound-top.png) no-repeat center center;
    background-size: cover;
    width: 7.5rem;
    height: 11.96rem;
    margin-top: -.74rem;
    z-index: 1;
}

.chowhound-top .chowhound-face {
    position: absolute;
    background: url(../img/chowhound_details/chowhound-face.png) no-repeat center center;
    background-size: cover;
    width: 1.65rem;
    height: .75rem;
    right: 0;
    z-index: 6;
    top: 3.6rem;
}

.chowhound-top .chowhound-face .chowhound-change {
    display: block;
    position: absolute;
    background: url(../img/chowhound_details/chowhound-change.png) no-repeat center center;
    background-size: cover;
    width: 1.2rem;
    height: .32rem;
    right: .36rem;
    z-index: 8;
    top: .18rem;
}

.islider-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0px;
    z-index: 4;
}

.islider-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 13rem;
    overflow: hidden;
}

.islider-wrapper li {
    position: absolute;
    margin: 0;
    padding: 0;
    height: 13rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    list-style: none;
    z-index: 4;
}

.islider-dot {
    position: relative;
    display: inline-block;
    width: .26em;
    height: .26em;
    border-radius: 50%;
    border: 1px solid #fff;
    list-style: none;
    margin: .05rem;
    background-color: #fff;
}

.islider-dot.active {
    background-color: #5ab6ff;
    border: 1px solid #5ab6ff;
}

.chowhound-shoppe {
    position: absolute;
    background-color: #fff;
    width: 7.3rem;
    left: 50%;
    top: 3.8rem;
    height: 9.1rem;
    margin-left: -3.65rem;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 0px 0px 10px #ddd;
    text-align: center;
}

.chowhound-shoppe .shoppe-img {
    position: relative;
    margin: 1.4rem auto 0 auto;
    display: inline-block;
    width: 5.28rem;
    height: 3.64rem;
}

.chowhound-shoppe .shoppe-content {
    position: relative;
    color: #2f3438;
    width: 6.9rem;
    margin: .35rem .2rem 0 .2rem;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.shoppe-content .shoppe-title {
    font-size: .42rem;
    font-weight: 700;
}

.shoppe-content .shoppe-price {
    margin-top: .35rem;
    font-size: .36rem;
    font-weight: 600;
}

.shoppe-cohesion {
    display: inline-block;
    font-size: .36rem;
    color: #fff;
    background-color: #f83b3b;
    height: .7rem;
    line-height: .7rem;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    margin-top: .35rem;
    padding: 0 .8rem;
}

.chowhound-rule {
    position: relative;
    margin: .45rem auto 0 auto;
    overflow: hidden;
    font-size: .26rem;
    color: #976570;
    text-align: center;
}

.chowhound-rule .rule-main {
    position: relative;
    margin-top: .54rem;
}

.chowhound-rule .rule-main li {
    position: relative;
    width: 7.02rem;
    margin: 0 auto;
    height: 1.64rem;
    margin-top: .3rem;
    text-align: left;
}

.chowhound-rule .rule-main li:nth-child(1) {
    background: url(../img/chowhound_details/rule-bg.png) no-repeat center 0;
    background-size: cover;
    margin-top: 0;
}

.chowhound-rule .rule-main li:nth-child(2) {
    background: url(../img/chowhound_details/rule-bg.png) no-repeat center -1.66rem;
    background-size: cover;
}

.chowhound-rule .rule-main li:nth-child(3) {
    background: url(../img/chowhound_details/rule-bg.png) no-repeat center -3.3rem;
    background-size: cover;
}

.chowhound-rule .rule-main .rule-text {
    position: absolute;
    display: inline-block;
    top: .25rem;
    right: .32rem;
    width: 4.45rem;
}

.chowhound-rule .rule-main .rule-text em {
    color: #ff88a1;
    font-style: normal;
}

.chowhound-rule .activity-rule {
    margin-top: .4rem;
    display: block;
    color: #474656;
    font-size: .3rem;
}

.chowhound-relationship {
    position: relative;
    margin: .55rem auto 0 auto;
    text-align: center;
}

.relationship-main {
    position: relative;
    background: url(../img/chowhound_details/relationship-bg.png) no-repeat center center;
    background-size: cover;
    width: 7.5rem;
    height: 3.8rem;
    margin: .2rem auto 0 auto;
}

.relationship-main .body {
    background: url(../img/chowhound_details/relationship-main.png) no-repeat center center;
    background-size: cover;
    width: 2.98rem;
    height: 2.64rem;
    margin: .4rem auto 0 auto;
    text-align: center;
    color: #fff;
    font-size: .48rem;
    font-weight: 600;
    line-height: 2.44rem;
}

.relationship-main .go-share {
    display: block;
    color: #fe869a;
    font-size: .28rem;
    margin-top: .4rem;
}

.chowhound-rank {
    position: relative;
    margin: .4rem auto 0 auto;
    text-align: center;
}

.rank-main {
    background: url(../img/chowhound_details/rank-bg.png) no-repeat center center;
    background-size: cover;
    width: 7.46rem;
    height: 3.68rem;
    margin: 0 auto;
}

.rank-top {
    position: relative;
    margin: .25rem auto 0 auto;
    text-align: center;
}

.rank-top .top-title {
    font-size: .24rem;
    color: #65727a;
    font-weight: 600;
}

.rank-top .top-avatar {
    font-size: .26rem;
    font-weight: 600;
    color: #eb6e8b;
    margin-top: .2rem;
}

.rank-top .top-avatar .avatar {
    border: 1px solid #ddd;
    background: url(../img/chowhound_details/trophy-avatar.png) no-repeat center center;
    background-size: cover;
    width: .52rem;
    height: .52rem;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.rank-top .top-avatar .nickname {
    margin-left: .1rem;
}

.rank-top .top-avatar .level {
    margin-left: .1rem;
}

.top-avatar .level em {
    font-size: .34rem;
    color: #ff8599;
    font-style: italic;
    margin-right: .05rem;
    font-weight: 600;
}

.rank-bottom {
    position: relative;
    margin: .18rem auto 0 auto;
    text-align: center;
}

.rank-bottom span {
    display: inline-block;
}

.rank-bottom .line {
    width: 2.18rem;
    height: 1px;
    background-color: #1a89e3;
    margin-bottom: .04rem;
}

.rank-bottom .rect {
    width: .1rem;
    height: .1rem;
    background-color: #1a89e3;
    margin-left: .15rem;
    margin-right: .15rem;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.rank-list {
    position: relative;
    margin: .4rem auto 0 auto;
}

.rank-nav {
    position: relative;
    margin-left: .15rem;
    height: auto;
}

.rank-nav:after {
    content: '';
    display: block;
    clear: both;
}

.rank-nav li {
    float: left;
    color: #1a89e3;
    font-size: .24rem;
    width: 2.4rem;
    text-align: center;
    line-height: .5rem;
    font-weight: 600;
}

.rank-nav li.line:before {
    content: '';
    height: .62rem;
    margin-top: -.06rem;
    width: 1px;
    background-color: #1a89e3;
    float: left;
}

.rank-nav span {
    display: inline-block;
}

.rank-nav span.active {
    background-color: #1a89e3;
    color: #fff;
    width: 1.56rem;
    height: .5rem;
    border-radius: 5px;
}

.rank-ul {
    margin-top: 0px;
    display: none;
}

.rank-ul.active {
    display: block;
}

.rank-ul .my-rank {
    color: #33383b;
    font-size: .25rem;
    margin-top: .48rem;
    font-weight: 600;
}

.rank-ul:after {
    content: '';
    display: block;
    clear: both;
}

.rank-ul li {
    position: relative;
    border-bottom: 1px solid #1a89e3;
    height: 1.24rem;
    margin: 0 .38rem;
    line-height: 1.24rem;
    font-size: .28rem;
    color: #474656;
    font-weight: 600;
}

.rank-ul li:after {
    content: '';
    display: block;
    clear: both;
}

.rank-ul li.title {
    line-height: 1.84rem;
}

.rank-ul li .rank-order {
    position: absolute;
    left: 0px;
    color: #1a89e3;
}

.rank-ul li .rank-username {
    position: absolute;
    top: .2rem;
    left: .64rem;
    color: #1a89e3;
    line-height: .4rem;
    text-align: left;
}

.win-ul li .rank-username {
    left: 0px;
}

.rank-ul .first-username {
    height: 1.68rem;
    line-height: 1.68rem;
}

.rank-ul .first-username .rank-username {
    left: 1.58rem;
    top: .53rem;
}

.rank-ul .first-username .first {
    position: absolute;
    background: url(../img/chowhound_details/first.png) no-repeat center center;
    background-size: cover;
    width: 1.36rem;
    height: 1.15rem;
    top: .265rem;
}

.rank-ul .rank-username .username {
    color: #33383b;
}

.rank-ul .rank-username .level {
    color: #ff8599;
    margin-left: .14rem;
}

.rank-ul .rank-username .level em {
    font-style: italic;
    font-size: .34rem;
    margin-right: .05rem;
}

.rank-ul .rank-username .result {
    color: #686868;
    font-size: .24rem;
}

.relationship-count {
    position: absolute;
    right: 0px;
    color: #ff8599;
    font-size: .32rem;
}

.relationship-count .heart {
    display: inline-block;
    background: url(../img/chowhound_details/heart.png) no-repeat center center;
    background-size: cover;
    width: .29rem;
    height: .25rem;
    vertical-align: middle;
    margin-left: .05rem;
}

.rank-ul li .text-left {
    float: left;
}

.rank-ul li .text-right {
    float: right;
}

.chowhound-rank .go-share {
    display: block;
    color: #888888;
    font-size: .28rem;
    margin-top: .35rem;
    font-weight: 600;
}

.chowhound-welfare {
    position: relative;
    margin: .65rem auto 0 auto;
    text-align: center;
}

.welfare-ul {
    margin: .26rem .1rem 0 .1rem;
}

.welfare-ul li {
    position: relative;
    width: 3.6rem;
    height: 5.3rem;
    background-color: #fff;
    z-index: 5;
    float: left;
    margin-top: .12rem;
}

.welfare-ul li:nth-child(odd) {
    margin-right: .1rem;
}

.welfare-img {
    width: 3.6rem;
    height: 3.5rem;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.welfare-img img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.welfare-title {
    margin: .2rem .1rem 0 .1rem;
    color: #474656;
    font-size: .28rem;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
}

.welfare-detail {
    position: relative;
    margin: .2rem .1rem 0 .1rem;
    font-weight: 600;
    font-size: .24rem;
    color: #787878;
}

.welfare-detail .heart {
    position: absolute;
    left: 0px;
    display: inline-block;
    background: url(../img/chowhound_details/heart.png) no-repeat center center;
    background-size: cover;
    width: .29rem;
    height: .25rem;
    vertical-align: middle;
    margin-left: .05rem;
}

.welfare-detail .relationship {
    position: absolute;
    left: .4rem;
}

.welfare-detail .purchase {
    position: absolute;
    right: 0px;
}

.welfare-detail .purchase em {
    text-decoration: line-through;
}

.welfare-change {
    position: absolute;
    display: block;
    bottom: 0px;
    width: 100%;
    height: .7rem;
    background-color: #ffb9cd;
    z-index: 10;
    font-size: .28rem;
    color: #fff;
    text-align: center;
}

.welfare-change .get {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    width: 50%;
    height: .7rem;
    background: #ff3972;
    z-index: 15;
}

.welfare-change .text {
    position: absolute;
    display: block;
    bottom: 0px;
    width: 100%;
    height: .7rem;
    line-height: .7rem;
    background: transparent;
    z-index: 20;
    font-size: .28rem;
    color: #fff;
    text-align: center;
}

.welfare-change .text .right {
    display: inline-block;
    background: url(../img/chowhound_details/right.png) no-repeat center center;
    background-size: cover;
    width: .1rem;
    height: .16rem;
    margin-left: .1rem;
}
